build_path:=../../build/
CC:=g++
include:=-I../ -I../utils/ -I../main/ -I../ctrl/ -I../service/ -I../model/
model_.o: $(build_path)model_MemcacheProxy.o $(build_path)model_ModelProxy.o $(build_path)model_MysqlProxy.o
$(build_path)model_MemcacheProxy.o: MemcacheProxy.cpp include/MemcacheProxy.h ../main/include/Configuration.h
	$(CC) -fPIC $(include) -o $(build_path)model_MemcacheProxy.o -c MemcacheProxy.cpp
	echo MemcacheProxy.o >> $(build_path)model.d
$(build_path)model_ModelProxy.o: ModelProxy.cpp include/ModelProxy.h ../model/include/MysqlProxy.h ../model/include/MemcacheProxy.h
	$(CC) -fPIC $(include) -o $(build_path)model_ModelProxy.o -c ModelProxy.cpp
	echo ModelProxy.o >> $(build_path)model.d
$(build_path)model_MysqlProxy.o: MysqlProxy.cpp include/MysqlProxy.h ../main/include/Configuration.h
	$(CC) -fPIC $(include) -o $(build_path)model_MysqlProxy.o -c MysqlProxy.cpp
	echo MysqlProxy.o >> $(build_path)model.d
.PHONY: clean
clean:
	rm -f $(build_path)*.o
